<template>
    <el-form-item label="" :prop="`creatives_base.operation_status`" :rules="{required: true, message: '请选择', trigger: ['blur', 'change']}">
        <div class="flexbox flexcenter">
            <el-switch class="cust_switch" width="28" @change="sessionSave" v-model="dataForm.creatives_base.operation_status" active-value="ENABLE" inactive-value="DISABLE">
            </el-switch>
            <span class="font_14 color_01 mragin_text">广告状态</span>
        </div>
    </el-form-item>
</template>

<script>
export default {
    props: ["dataForm"],
    components: {},
    name: "",
    data() {
        return {
            noset: "",
        };
    },
    created() {},
    methods: {
        sessionSave(){
            this.$emit("sessionSave")
        }
    },
};
</script>


<style scoped>
.mragin_text{
    margin: 0 8px;
}
</style>

